package com.ipzoe.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "修改手机号入参")
public class ChangeMobileRequestDTO {

    @ApiModelProperty(value = "用户id")
    @NotBlank(message = "用户id不能为空")
    private Long id;

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "短信验证码")
    @NotBlank(message = "短信验证码不能为空")
    private String validateCode;
}
